<div id="edge">
<ul id="treemenu1">
<li class="nav_line"><a href="campus-management" title="Campus Management">Campus Management</a><ul>
  <li><a href="admission" title="Admissions">Admissions</a></li>
  <li><a href="Student_Listing" title="Students">Students</a></li>
  <li><a href="Manage_Faculties" title="Faculty">Faculty</a></li>
  <li><a href="Manage_Time_Table" title="Common">Common</a></li>
  <li><a href="Config_Applicant" title="Configuration Manager">Configuration Manager</a></li>
  </ul></li>
<li class="nav_line"><a href="lead-management" title="Lead Management">Lead Management </a></li>
<li class="nav_line"><a href="hr" title="Human Resources">Human Resources</a></li>
<li class="nav_line"><a href="inventory-management" title="Inventory Management">Inventory &amp; Vendor Management </a></li>
<li class="nav_line"><a href="hostel_management" title="Hostel Management">Hostel Management</a></li>
<!--<li><a href="events.php">News &amp; Events</a>
  <ul>
  <li><a href="Latest_News.php">Latest News</a></li>
  <li><a href="Upcoming_Events.php">Upcoming Events</a></li>
  <li><a href="Past_Events.php">Past Events</a></li>
  </ul>
	</li>-->
</ul>
<br style="clear: left;" />
</div>
<script type="text/javascript">
var menuids=["treemenu1"] 
function buildsubmenus_horizontal(){
for (var i=0; i<menuids.length; i++){
  var ultags=document.getElementById(menuids[i]).getElementsByTagName("ul")
    for (var t=0; t<ultags.length; t++){
		if (ultags[t].parentNode.parentNode.id==menuids[i]){ //if this is a first level submenu
			ultags[t].parentNode.getElementsByTagName("a")[0].className="mainfoldericon"
		}
		else{ //else if this is a sub level menu (ul)
		  ultags[t].style.left=ultags[t-1].getElementsByTagName("a")[0].offsetWidth+"px" //position menu to the right of menu item that activated it
    	ultags[t].parentNode.getElementsByTagName("a")[0].className="subfoldericon"
		}
    ultags[t].parentNode.onmouseover=function(){
    this.getElementsByTagName("ul")[0].style.visibility="visible"
    }
    ultags[t].parentNode.onmouseout=function(){
    this.getElementsByTagName("ul")[0].style.visibility="hidden"
    }
    }
  }
}

if (window.addEventListener)
window.addEventListener("load", buildsubmenus_horizontal, false)
else if (window.attachEvent)
window.attachEvent("onload", buildsubmenus_horizontal)

</script>